Component({
    properties: {},
    data: {
        userInfo: ""
    },
    attached: function() {
        this.setData({
          userInfo: wx.getStorageSync('user')
        });
    },
    methods: {}
});